package org.example.ssm.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.ssm.po.User;

import java.util.List;

/**
 * @author 莫磊
 * @date 2025/8/16
 * @description
 */
@Mapper
public interface UserMapper{

    User selectById(Integer id);

    int insert(User user);

    User selectByName(String name);

    List<User> selectAll();
}
